package com.kharthick.pwGame.rules;

import java.util.List;
import java.util.Vector;

import com.kharthick.pwGame.map.Map;
import com.kharthick.pwGame.players.Player;
import com.kharthick.pwGame.units.Unit;

/**********************************
 * Not used right now.
 * @author aaron
 *
 ***********************************/
public abstract class AbstractRules implements Rules {
	
	//	See if unit can move to clicked on position
	public boolean actionOk(List<Player> players) {
		/*int x = pos.get(0);
		int y = pos.get(1);
		int x2 = pos2.get(0);
		int y2 = pos2.get(1);
		int d;
		
		d = Math.abs(x-x2) + Math.abs(y-y2);
		
		if(limit >= d){
			return true;
		}
		else
			return false;*/
		return false;
	}

	abstract public void doAction(Map m);
}
